package io.renren.modules.wcs.listenSlaveDB.controller;

import io.renren.modules.basic.entity.MtCcTaskRunInfoEntity;
import io.renren.modules.basic.service.MtCcTaskRunInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: liguanghao
 * @Date: 2020/3/9 10:47
 * @Version 1.0
 */
@Component
public class MtCcTaskRunInfoServiceBean {
    @Autowired
    MtCcTaskRunInfoService mtCcTaskRunInfoService;
    public void save(MtCcTaskRunInfoEntity mtCcTaskRunInfoEntity){
        mtCcTaskRunInfoService.save(mtCcTaskRunInfoEntity);
    }
    public void updateById(MtCcTaskRunInfoEntity mtCcTaskRunInfoEntity){
        mtCcTaskRunInfoService.updateById(mtCcTaskRunInfoEntity);
    }
}
